package com.qingcheng.service.seckill;

import com.qingcheng.pojo.seckill.SeckillGoods;

import java.util.List;

public interface SeckillGoodsService {

    List<SeckillGoods> list(String key);

    /**
     * 根据ID查询商品详情
     *
     * @param time
     * @param id
     * @return
     */
    SeckillGoods one(String time, Long id);
}
